Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform/tdp: remove unnecessary Unimplemented errors #592

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

msft-jlange
Copy link
Collaborator

Several methods of the platform object can be implemented as no-op methods in the TDP environment because there is no required work associated with those methods. There is no need to return an uninmplemented error. With this change, the kernel can boot and execute the test-in-svsm environment on a single vCPU (at least in the Hyper-V configuration which suppresses certain tests).

@msft-jlange
Copy link
Collaborator Author

@peterfang please review

@msft-jlange msft-jlange added the wait-for-review PR needs for approval by reviewers label Jan 15, 2025
@msft-jlange msft-jlange changed the title platform/tdx: remove unnecessary Unimplemented errors platform/tdp: remove unnecessary Unimplemented errors Jan 15, 2025
@joergroedel joergroedel requested a review from peterfang January 21, 2025 10:29
Several methods of the platform object can be implemented as no-op
methods in the TDP environment because there is no required work
associated with those methods.  There is no need to return an
uninmplemented error.  With this change, the kernel can boot and execute
the test-in-svsm environment on a single vCPU (at least in the Hyper-V
configuration which suppresses certain tests).

Signed-off-by: Jon Lange <[email protected]>
@msft-jlange msft-jlange added in-review PR is under active review and not yet approved and removed wait-for-review PR needs for approval by reviewers labels Jan 29, 2025
@peterfang
Copy link
Contributor

Looks good to me now, thanks!

@msft-jlange
Copy link
Collaborator Author

Looks good to me now, thanks!

Thanks for reviewing!

@msft-jlange msft-jlange added ready-to-merge PR is ready for merging into main branch and removed in-review PR is under active review and not yet approved labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge PR is ready for merging into main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants